package week03.starbucks_ex;

public class DrinkDecorator implements IDrink{

    protected IDrink drink;
    public DrinkDecorator(IDrink drink){
        this.drink=drink;
    }
    public double getPrice(){
        System.out.println("装饰器");
       return drink.getPrice();
    }
}
